﻿using Microsoft.Xna.Framework;

namespace block_explorer
{
    interface IMeshableCube
    {
        // get the size in blocks of this meshable cube
        int Size { get; }

        // get the size of each block
        float BlockSize { get; }

        // test if a solid block occupies the given position (local coordinates)
        bool IsSolidBlockAt(Vector3 localPosition);

        // get the block at the given position possibly overlapping the cubes own boundaries (local coordinates)
        Block GetBlockAt(Vector3 localPosition);
    }
}
